import time


def rum_time_with_param(param):
    def run_time(func):
        print(param)

        def wrapper(*args, **kwargs):
            start_time = time.time()
            result = func(*args, **kwargs)
            end_time = time.time()
            print(f"函数装饰器，统计耗时:{end_time - start_time}")

            return result
        return wrapper
    return run_time